/**
 * 
 * Copyright (C) 2015 by NIP Team
 *
 * @id: ITaskTime.java, Mar 13, 2015
 *
 */
package com.nip.commons.job.interf;

import java.util.Date;

/**
 * @author ThangNM<thangnm@elcom.com.vn>
 * 
 * @version v
 */
public interface IJobTime {

    /**
     * Set time
     * @param time
     */
    public void setTime(Date time);
    
    public Date getTime();

    /**
     * get year
     * @return
     */
    int getYear();

    /**
     * get month
     * @return
     */
    int getMonth();

    /**
     * get hour
     * @return
     */
    int getHour();

    /**
     * get munite
     * @return
     */
    int getMunite();

    /**
     * get day of week (0-6)
     * @return
     */
    int getDayOfWeek();
    
    /**
     * get day of mounth
     * @return
     */
    int getDay();
}
